
// <copyright file="TaskScheduleSettings.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   The task schedule settings.
// </summary>

namespace SubhadraSolutions.Sharp.Utils.Threading
{
    using System.Collections.Generic;

    /// <summary>
    /// The task schedule settings.
    /// </summary>
    public sealed class TaskScheduleSettings
    {
        #region Constructors and Finalizers

        /// <summary>
        /// Initializes a new instance of the <see cref="TaskScheduleSettings"/> class.
        /// </summary>
        public TaskScheduleSettings()
        {
            this.Timings = new List<Time>();
        }

        #endregion Constructors and Finalizers

        #region Public Properties

        /// <summary>
        /// Gets or sets a value indicating whether perform task on start.
        /// </summary>
        public bool PerformTaskOnStart { get; set; }

        /// <summary>
        /// Gets the timings.
        /// </summary>
        public List<Time> Timings { get; private set; }

        #endregion Public Properties
    }
}